{{template "layouts/base.html" .}}

{{define "content"}}
<div class="container-fluid">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <div class="card">
                <div class="card-header">
                    <h4 class="mb-0">{{.title}}</h4>
                </div>
                <div class="card-body text-center">
                    <div class="mb-4">
                        <svg class="w-20 h-20 text-yellow-500 mx-auto" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path>
                        </svg>
                    </div>
                    <h5 class="card-title">401 - 未授权访问</h5>
                    <p class="card-text">{{.message}}</p>
                    <a href="/auth/login" class="btn btn-primary">重新登录</a>
                    <a href="/" class="btn btn-secondary">返回首页</a>
                </div>
            </div>
        </div>
    </div>
</div>
{{end}}